<style lang=sass>
@import "../../assets/sass/button/button.scss";
</style>

<template>
  <button  
  class="vue-btn" 
  :disabled='disabled'  
  :type='type' 
  :class="className">
  <span  v-show="loading">{{loadText}}</span>
  <i :class="iconCls" v-show="!loading"></i>
  <span v-show="!loading">{{text}}</span>
  </button>
</template>



<script>
export default {
  props: {
    className:String,
    loading: Boolean,
    loadText:String,
    text: String,
    disabled: String
  }
}
</script>


